package com.baobao.service;

import com.baobao.domain.Askleave;

import java.util.Calendar;
import java.util.List;
import java.util.Set;

/**
 * Spring service that handles CRUD requests for Askleave entities
 * 
 */
public interface AskleaveService {

	/**
	 */
	public Askleave findAskleaveByPrimaryKey(String parentPhone, String studentId, Calendar applyTime);

	/**
	 * Return a count of all Askleave entity
	 * 
	 */
	public Integer countAskleaves();

	/**
	 * Delete an existing Askleave entity
	 * 
	 */
	public void deleteAskleave(Askleave askleave);

	/**
	 * Return all Askleave entity
	 * 
	 */
	public List<Askleave> findAllAskleaves(Integer startResult, Integer maxRows);

	/**
	 * Load an existing Askleave entity
	 * 
	 */
	public Set<Askleave> loadAskleaves();

	/**
	 * Save an existing Askleave entity
	 * 
	 */
	public void saveAskleave(Askleave askleave_1);
}